<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Aestate: aestate.opera.DBPool.pooled_db.PooledDB Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Aestate
   &#160;<span id="projectnumber">1.0.5</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceaestate.html">aestate</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1opera.html">opera</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1opera_1_1_d_b_pool.html">DBPool</a></li><li class="navelem"><a class="el" href="namespaceaestate_1_1opera_1_1_d_b_pool_1_1pooled__db.html">pooled_db</a></li><li class="navelem"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html">PooledDB</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">aestate.opera.DBPool.pooled_db.PooledDB Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
Inheritance diagram for aestate.opera.DBPool.pooled_db.PooledDB:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b__inherit__graph.png" border="0" usemap="#aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_inherit__map" alt="Inheritance graph"/></div>
<map name="aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_inherit__map" id="aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_inherit__map">
<area shape="rect" title=" " alt="" coords="5,5,216,435"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html" title=" " alt="" coords="18,483,203,648"/>
</map>
</div>
<div class="dynheader">
Collaboration diagram for aestate.opera.DBPool.pooled_db.PooledDB:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b__coll__graph.png" border="0" usemap="#aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_coll__map" alt="Collaboration graph"/></div>
<map name="aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_coll__map" id="aestate_8opera_8_d_b_pool_8pooled__db_8_pooled_d_b_coll__map">
<area shape="rect" title=" " alt="" coords="5,5,216,435"/>
</map>
</div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:ad89acbbd5b777a724403a3b7031f51db"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ad89acbbd5b777a724403a3b7031f51db">__init__</a> (self, creator, mincached=0, maxcached=0, maxshared=0, maxconnections=0, blocking=False, maxusage=None, setsession=None, reset=True, failures=None, ping=1, *args, **kwargs)</td></tr>
<tr class="separator:ad89acbbd5b777a724403a3b7031f51db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a06ee055becc8b958e365378d4803f3f4"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a06ee055becc8b958e365378d4803f3f4">steady_connection</a> (self)</td></tr>
<tr class="separator:a06ee055becc8b958e365378d4803f3f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a959ae7955f2dfae66ad44fd96e7b0717"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a959ae7955f2dfae66ad44fd96e7b0717">connection</a> (self, shareable=True)</td></tr>
<tr class="separator:a959ae7955f2dfae66ad44fd96e7b0717"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8c85047cc77946bad58a4b0d3f7c5cc"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ad8c85047cc77946bad58a4b0d3f7c5cc">dedicated_connection</a> (self)</td></tr>
<tr class="separator:ad8c85047cc77946bad58a4b0d3f7c5cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1af8b808abcac5469d52a0ef2ae33a25"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a1af8b808abcac5469d52a0ef2ae33a25">unshare</a> (self, con)</td></tr>
<tr class="separator:a1af8b808abcac5469d52a0ef2ae33a25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf476e69eea8cc1a730098f96503dbd"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a7cf476e69eea8cc1a730098f96503dbd">cache</a> (self, con)</td></tr>
<tr class="separator:a7cf476e69eea8cc1a730098f96503dbd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80dfa04438c2060ee8867c135f401538"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a80dfa04438c2060ee8867c135f401538">close</a> (self)</td></tr>
<tr class="separator:a80dfa04438c2060ee8867c135f401538"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b1324d0741db4447e876ab702dcbffd"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a3b1324d0741db4447e876ab702dcbffd">__del__</a> (self)</td></tr>
<tr class="separator:a3b1324d0741db4447e876ab702dcbffd"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr class="memitem:a769527da0064a412426691048b43cc97"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a769527da0064a412426691048b43cc97">version</a> = __version__</td></tr>
<tr class="separator:a769527da0064a412426691048b43cc97"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr class="memitem:a3acc9fd292d23e1492808430de58bbab"><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a3acc9fd292d23e1492808430de58bbab">_wait_lock</a> (self)</td></tr>
<tr class="separator:a3acc9fd292d23e1492808430de58bbab"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr class="memitem:a8c2ce012333497cd0f142fe0203d8fff"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a8c2ce012333497cd0f142fe0203d8fff">_creator</a></td></tr>
<tr class="separator:a8c2ce012333497cd0f142fe0203d8fff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c38a1d9c58c0c4969b5661c3569875e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a0c38a1d9c58c0c4969b5661c3569875e">_kwargs</a></td></tr>
<tr class="separator:a0c38a1d9c58c0c4969b5661c3569875e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa9fb4cd4ee8224679009a828a3caceb1"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#aa9fb4cd4ee8224679009a828a3caceb1">_blocking</a></td></tr>
<tr class="separator:aa9fb4cd4ee8224679009a828a3caceb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae47fed3fb0a35a5a905c0b30bc44b099"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ae47fed3fb0a35a5a905c0b30bc44b099">_maxusage</a></td></tr>
<tr class="separator:ae47fed3fb0a35a5a905c0b30bc44b099"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae23eeae036876ba96eec0f948eae0e38"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ae23eeae036876ba96eec0f948eae0e38">_setsession</a></td></tr>
<tr class="separator:ae23eeae036876ba96eec0f948eae0e38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a77570a246bd3eb54863078be1b292aba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a77570a246bd3eb54863078be1b292aba">_reset</a></td></tr>
<tr class="separator:a77570a246bd3eb54863078be1b292aba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05d1c2d5f752a8a8cceacc87aa4e7028"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a05d1c2d5f752a8a8cceacc87aa4e7028">_failures</a></td></tr>
<tr class="separator:a05d1c2d5f752a8a8cceacc87aa4e7028"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a642b80cb82ccb3bf92bd407d17019bb8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a642b80cb82ccb3bf92bd407d17019bb8">_ping</a></td></tr>
<tr class="separator:a642b80cb82ccb3bf92bd407d17019bb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a5bc28a2baa53b6ab5637076314f0d0"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a8a5bc28a2baa53b6ab5637076314f0d0">_maxcached</a></td></tr>
<tr class="separator:a8a5bc28a2baa53b6ab5637076314f0d0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a547de58a87dc65c1776cf49cc918bbba"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a547de58a87dc65c1776cf49cc918bbba">_maxshared</a></td></tr>
<tr class="separator:a547de58a87dc65c1776cf49cc918bbba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a3a5461803f31ec73863fbd01a47008"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a9a3a5461803f31ec73863fbd01a47008">_shared_cache</a></td></tr>
<tr class="separator:a9a3a5461803f31ec73863fbd01a47008"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0a4c07b3eedad2f2ddc2bcc8a0ad3ff6"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a0a4c07b3eedad2f2ddc2bcc8a0ad3ff6">_maxconnections</a></td></tr>
<tr class="separator:a0a4c07b3eedad2f2ddc2bcc8a0ad3ff6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9c9be369217e8caa4f77991e8a3b78a5"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a9c9be369217e8caa4f77991e8a3b78a5">_idle_cache</a></td></tr>
<tr class="separator:a9c9be369217e8caa4f77991e8a3b78a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac192157bd0f27d69b92425c98d4f0b72"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ac192157bd0f27d69b92425c98d4f0b72">_lock</a></td></tr>
<tr class="separator:ac192157bd0f27d69b92425c98d4f0b72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb864499f4ea3bbbfa13365b2845af07"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#afb864499f4ea3bbbfa13365b2845af07">_connections</a></td></tr>
<tr class="separator:afb864499f4ea3bbbfa13365b2845af07"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><pre class="fragment">Pool for DB-API 2 connections.

After you have created the connection pool, you can use
connection() to get pooled, steady DB-API 2 connections.
</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00023">23</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="ad89acbbd5b777a724403a3b7031f51db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad89acbbd5b777a724403a3b7031f51db">&#9670;&nbsp;</a></span>__init__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>creator</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mincached</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>maxcached</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>maxshared</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>maxconnections</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>blocking</em> = <code>False</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>maxusage</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>setsession</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>reset</em> = <code>True</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>failures</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>ping</em> = <code>1</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">*&#160;</td>
          <td class="paramname"><em>args</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">**&#160;</td>
          <td class="paramname"><em>kwargs</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">设置DB-API 2连接池。

creator：返回新的DB-API 2的任意函数
    连接对象或符合DB-API 2的数据库模块
mincached：池中空闲连接的初始数量
    （0表示启动时未建立连接）
maxcached：池中最大空闲连接数
    （0或无表示池大小不受限制）
maxshared：共享连接的最大数量
    （0或无表示所有连接都是专用的）
    当达到此最大数量时，连接为
    如果被要求共享，则将它们共享。
maxconnections：通常允许的最大连接数
    （0或无表示任意数量的连接）
blocking：确定超出最大值时的行为
    （如果将其设置为true，请阻止并等待，直到
    连接减少，否则将报告错误）
maxusage：单个连接的最大重用次数
    （0或无表示无限重用）
    当达到连接的最大使用次数时，
    连接将自动重置（关闭并重新打开）。
setsession：可用于准备的SQL命令的可选列表
    会话，例如[“将日期样式设置为...”，“将时区设置为...”]
reset：返回到池后应如何重置连接
    （对于以begin（）开始的回滚事务，为False或None，
    出于安全考虑，总是发出回滚是正确的）
failures：可选的异常类或异常类的元组
    为此，应应用连接故障转移机制，
    如果默认值（OperationalError，InternalError）不足够
ping：确定何时应使用ping（）检查连接
    （0 =无=永不，1 =默认=每当从池中获取时，
    2 =创建游标时，4 =执行查询时，
    7 =始终，以及这些值的所有其他位组合）
args，kwargs：应传递给创建者的参数
    函数或DB-API 2模块的连接构造函数


初始化配置
以下参数与PooledDB一致
:param creator:默认即可
:param maxconnections:默认即可
:param mincached:默认即可
:param maxcached:默认即可
:param maxshared:默认即可
:param blocking:默认即可
:param setsession:默认即可
:param ping:默认即可
:param host:数据库IP地址
:param port:端口
:param user:用户名,如root
:param password:密码
:param database:数据库名
:param charset:编码格式
:param POOL:使用自定义的PooledDB,不建议
</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00032">32</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a3b1324d0741db4447e876ab702dcbffd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b1324d0741db4447e876ab702dcbffd">&#9670;&nbsp;</a></span>__del__()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.__del__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Delete the pool.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00268">268</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3b1324d0741db4447e876ab702dcbffd_cgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3b1324d0741db4447e876ab702dcbffd_cgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3b1324d0741db4447e876ab702dcbffd_cgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3b1324d0741db4447e876ab702dcbffd_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,216,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a80dfa04438c2060ee8867c135f401538" title=" " alt="" coords="264,5,475,47"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a3acc9fd292d23e1492808430de58bbab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3acc9fd292d23e1492808430de58bbab">&#9670;&nbsp;</a></span>_wait_lock()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB._wait_lock </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<pre class="fragment">Wait until notified or report an error.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00275">275</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3acc9fd292d23e1492808430de58bbab_icgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3acc9fd292d23e1492808430de58bbab_icgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3acc9fd292d23e1492808430de58bbab_icgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a3acc9fd292d23e1492808430de58bbab_icgraph">
<area shape="rect" title=" " alt="" coords="1037,39,1248,80"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a959ae7955f2dfae66ad44fd96e7b0717" title=" " alt="" coords="779,39,989,80"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ad8c85047cc77946bad58a4b0d3f7c5cc" title=" " alt="" coords="472,5,731,47"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af621539312f85b1fb61330704f011053" title=" " alt="" coords="509,71,694,112"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a9287232ddbcabdb67c39f934aecc5774" title=" " alt="" coords="239,37,424,79"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#afc77558cf0747f2325b05305c6ca01ad" title=" " alt="" coords="239,103,424,144"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a1366af70de61ad202ddd95d0c020ce05" title=" " alt="" coords="5,5,191,47"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af488911adbdabd74a5f54c6c6b4f17d9" title=" " alt="" coords="5,71,191,112"/>
</map>
</div>

</div>
</div>
<a id="a7cf476e69eea8cc1a730098f96503dbd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf476e69eea8cc1a730098f96503dbd">&#9670;&nbsp;</a></span>cache()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.cache </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>con</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Put a dedicated connection back into the idle cache.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00231">231</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a7cf476e69eea8cc1a730098f96503dbd_icgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a7cf476e69eea8cc1a730098f96503dbd_icgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a7cf476e69eea8cc1a730098f96503dbd_icgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a7cf476e69eea8cc1a730098f96503dbd_icgraph">
<area shape="rect" title=" " alt="" coords="264,5,475,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a1af8b808abcac5469d52a0ef2ae33a25" title=" " alt="" coords="5,5,216,47"/>
</map>
</div>

</div>
</div>
<a id="a80dfa04438c2060ee8867c135f401538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80dfa04438c2060ee8867c135f401538">&#9670;&nbsp;</a></span>close()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.close </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Close all connections in the pool.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00246">246</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a80dfa04438c2060ee8867c135f401538_icgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a80dfa04438c2060ee8867c135f401538_icgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a80dfa04438c2060ee8867c135f401538_icgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a80dfa04438c2060ee8867c135f401538_icgraph">
<area shape="rect" title=" " alt="" coords="635,300,845,341"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1simple__pooled__pg_1_1_pooled_pg_connection.html#ade325c32687db9b48d41911b9d03d7fd" title=" " alt="" coords="293,5,578,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1simple__pooled__db_1_1_pooled_d_b_connection.html#a369e0b5db2f5b77e5b5b7917c3f21a84" title=" " alt="" coords="291,71,579,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__pg_1_1_pooled_pg.html#ad2f6f02b43a86f78fd149c30c36b5884" title=" " alt="" coords="330,136,541,177"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__pg_1_1_pooled_pg_connection.html#a0e6bbf37a27398b6334193edb54d3f8b" title=" " alt="" coords="318,201,553,243"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a3b1324d0741db4447e876ab702dcbffd" title=" " alt="" coords="330,267,541,308"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_dedicated_d_b_connection.html#a52d14f44a8b3fb29fd30dd632bc05152" title=" " alt="" coords="284,332,587,373"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_shared_d_b_connection.html#aef2282c058c34d84ae01c0042b97d47f" title=" " alt="" coords="294,397,577,439"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1steady__db_1_1_steady_d_b_cursor.html#a78635b85456f5eb28b7ffc8e562beadb" title=" " alt="" coords="330,463,541,504"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1steady__db_1_1_steady_d_b_cursor.html#a7cf3f9e961d70360ae259fb1f48efc26" title=" " alt="" coords="330,528,541,569"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1steady__db_1_1_steady_d_b_cursor.html#adde9d6b5fc37b1c187e5c8ec4ba57941" title=" " alt="" coords="330,594,541,650"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1steady__pg_1_1_steady_pg_connection.html#affbaa24a76e047892dbe2178c7c2b3e6" title=" " alt="" coords="15,557,226,613"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1steady__db_1_1_steady_d_b_cursor.html#ab72d192338c5a27e430aba101a55af93" title=" " alt="" coords="5,637,236,679"/>
</map>
</div>

</div>
</div>
<a id="a959ae7955f2dfae66ad44fd96e7b0717"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a959ae7955f2dfae66ad44fd96e7b0717">&#9670;&nbsp;</a></span>connection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.connection </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>shareable</em> = <code>True</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">从连接池中获得稳定的缓存的DB-API 2连接。

 :param shareable:允许共享连接
</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00154">154</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_cgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_cgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_cgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_cgraph">
<area shape="rect" title=" " alt="" coords="5,104,216,145"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a3acc9fd292d23e1492808430de58bbab" title=" " alt="" coords="288,5,499,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__pg_1_1_persistent_pg.html#a9f2e1797fbed313968d849400c33c162" title=" " alt="" coords="265,71,521,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__db_1_1_persistent_d_b.html#a873a9fdf637840f8f5ef989109d6bd11" title=" " alt="" coords="264,136,523,177"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a06ee055becc8b958e365378d4803f3f4" title=" " alt="" coords="274,201,513,243"/>
<area shape="rect" href="namespaceaestate_1_1opera_1_1_d_b_pool_1_1steady__db.html#ac744dc4ab3e2dabdd34d3441e7d9ab5c" title=" " alt="" coords="571,169,781,211"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_icgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_icgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_icgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a959ae7955f2dfae66ad44fd96e7b0717_icgraph">
<area shape="rect" title=" " alt="" coords="779,39,989,80"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ad8c85047cc77946bad58a4b0d3f7c5cc" title=" " alt="" coords="472,5,731,47"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af621539312f85b1fb61330704f011053" title=" " alt="" coords="509,71,694,112"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a9287232ddbcabdb67c39f934aecc5774" title=" " alt="" coords="239,37,424,79"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#afc77558cf0747f2325b05305c6ca01ad" title=" " alt="" coords="239,103,424,144"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a1366af70de61ad202ddd95d0c020ce05" title=" " alt="" coords="5,5,191,47"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af488911adbdabd74a5f54c6c6b4f17d9" title=" " alt="" coords="5,71,191,112"/>
</map>
</div>

</div>
</div>
<a id="ad8c85047cc77946bad58a4b0d3f7c5cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8c85047cc77946bad58a4b0d3f7c5cc">&#9670;&nbsp;</a></span>dedicated_connection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.dedicated_connection </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Alias for connection(shareable=False).</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00211">211</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_ad8c85047cc77946bad58a4b0d3f7c5cc_cgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_ad8c85047cc77946bad58a4b0d3f7c5cc_cgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_ad8c85047cc77946bad58a4b0d3f7c5cc_cgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_ad8c85047cc77946bad58a4b0d3f7c5cc_cgraph">
<area shape="rect" title=" " alt="" coords="5,71,264,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__pg_1_1_persistent_pg.html#ad5ecdcb60b3a543a649ac73ef671a825" title=" " alt="" coords="312,71,544,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__db_1_1_persistent_d_b.html#a73893f5de059b9e2f96496d3186c6996" title=" " alt="" coords="312,5,544,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a959ae7955f2dfae66ad44fd96e7b0717" title=" " alt="" coords="323,136,533,177"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__pg_1_1_persistent_pg.html#a9f2e1797fbed313968d849400c33c162" title=" " alt="" coords="593,71,849,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1persistent__db_1_1_persistent_d_b.html#a873a9fdf637840f8f5ef989109d6bd11" title=" " alt="" coords="592,5,851,47"/>
<area shape="rect" href="namespaceaestate_1_1opera_1_1_d_b_pool_1_1steady__db.html#ac744dc4ab3e2dabdd34d3441e7d9ab5c" title=" " alt="" coords="899,71,1109,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a3acc9fd292d23e1492808430de58bbab" title=" " alt="" coords="616,201,827,243"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a06ee055becc8b958e365378d4803f3f4" title=" " alt="" coords="602,136,841,177"/>
</map>
</div>

</div>
</div>
<a id="a06ee055becc8b958e365378d4803f3f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a06ee055becc8b958e365378d4803f3f4">&#9670;&nbsp;</a></span>steady_connection()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.steady_connection </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">获得稳定的，未池化的DB-API 2连接.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00148">148</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_cgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_cgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_cgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,244,47"/>
<area shape="rect" href="namespaceaestate_1_1opera_1_1_d_b_pool_1_1steady__db.html#ac744dc4ab3e2dabdd34d3441e7d9ab5c" title=" " alt="" coords="292,5,503,47"/>
</map>
</div>
<div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_icgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_icgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_icgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a06ee055becc8b958e365378d4803f3f4_icgraph">
<area shape="rect" title=" " alt="" coords="1037,39,1276,80"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__pg_1_1_pooled_pg.html#a1c9dd1fd268efb0df3ca47ca894d2076" title=" " alt="" coords="779,5,989,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a959ae7955f2dfae66ad44fd96e7b0717" title=" " alt="" coords="779,71,989,112"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#ad8c85047cc77946bad58a4b0d3f7c5cc" title=" " alt="" coords="472,37,731,79"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af621539312f85b1fb61330704f011053" title=" " alt="" coords="509,103,694,144"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a9287232ddbcabdb67c39f934aecc5774" title=" " alt="" coords="239,69,424,111"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#afc77558cf0747f2325b05305c6ca01ad" title=" " alt="" coords="239,135,424,176"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#a1366af70de61ad202ddd95d0c020ce05" title=" " alt="" coords="5,37,191,79"/>
<area shape="rect" href="classaestate_1_1work_1_1sql_1_1_execute_sql_1_1_db__opera.html#af488911adbdabd74a5f54c6c6b4f17d9" title=" " alt="" coords="5,103,191,144"/>
</map>
</div>

</div>
</div>
<a id="a1af8b808abcac5469d52a0ef2ae33a25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1af8b808abcac5469d52a0ef2ae33a25">&#9670;&nbsp;</a></span>unshare()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def aestate.opera.DBPool.pooled_db.PooledDB.unshare </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>con</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<pre class="fragment">Decrease the share of a connection in the shared cache.</pre> 
<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00215">215</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>
<div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a1af8b808abcac5469d52a0ef2ae33a25_cgraph.png" border="0" usemap="#classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a1af8b808abcac5469d52a0ef2ae33a25_cgraph" alt=""/></div>
<map name="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a1af8b808abcac5469d52a0ef2ae33a25_cgraph" id="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b_a1af8b808abcac5469d52a0ef2ae33a25_cgraph">
<area shape="rect" title=" " alt="" coords="5,5,216,47"/>
<area shape="rect" href="classaestate_1_1opera_1_1_d_b_pool_1_1pooled__db_1_1_pooled_d_b.html#a7cf476e69eea8cc1a730098f96503dbd" title=" " alt="" coords="264,5,475,47"/>
</map>
</div>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="aa9fb4cd4ee8224679009a828a3caceb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa9fb4cd4ee8224679009a828a3caceb1">&#9670;&nbsp;</a></span>_blocking</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._blocking</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00104">104</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="afb864499f4ea3bbbfa13365b2845af07"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb864499f4ea3bbbfa13365b2845af07">&#9670;&nbsp;</a></span>_connections</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._connections</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00137">137</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a8c2ce012333497cd0f142fe0203d8fff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8c2ce012333497cd0f142fe0203d8fff">&#9670;&nbsp;</a></span>_creator</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._creator</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00102">102</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a05d1c2d5f752a8a8cceacc87aa4e7028"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05d1c2d5f752a8a8cceacc87aa4e7028">&#9670;&nbsp;</a></span>_failures</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._failures</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00108">108</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a9c9be369217e8caa4f77991e8a3b78a5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9c9be369217e8caa4f77991e8a3b78a5">&#9670;&nbsp;</a></span>_idle_cache</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._idle_cache</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00135">135</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a0c38a1d9c58c0c4969b5661c3569875e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c38a1d9c58c0c4969b5661c3569875e">&#9670;&nbsp;</a></span>_kwargs</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._kwargs</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00103">103</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="ac192157bd0f27d69b92425c98d4f0b72"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac192157bd0f27d69b92425c98d4f0b72">&#9670;&nbsp;</a></span>_lock</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._lock</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00136">136</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a8a5bc28a2baa53b6ab5637076314f0d0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a5bc28a2baa53b6ab5637076314f0d0">&#9670;&nbsp;</a></span>_maxcached</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._maxcached</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00119">119</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a0a4c07b3eedad2f2ddc2bcc8a0ad3ff6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0a4c07b3eedad2f2ddc2bcc8a0ad3ff6">&#9670;&nbsp;</a></span>_maxconnections</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._maxconnections</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00132">132</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a547de58a87dc65c1776cf49cc918bbba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a547de58a87dc65c1776cf49cc918bbba">&#9670;&nbsp;</a></span>_maxshared</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._maxshared</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00123">123</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="ae47fed3fb0a35a5a905c0b30bc44b099"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae47fed3fb0a35a5a905c0b30bc44b099">&#9670;&nbsp;</a></span>_maxusage</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._maxusage</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00105">105</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a642b80cb82ccb3bf92bd407d17019bb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a642b80cb82ccb3bf92bd407d17019bb8">&#9670;&nbsp;</a></span>_ping</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._ping</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00109">109</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a77570a246bd3eb54863078be1b292aba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a77570a246bd3eb54863078be1b292aba">&#9670;&nbsp;</a></span>_reset</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._reset</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00107">107</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="ae23eeae036876ba96eec0f948eae0e38"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae23eeae036876ba96eec0f948eae0e38">&#9670;&nbsp;</a></span>_setsession</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._setsession</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00106">106</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a9a3a5461803f31ec73863fbd01a47008"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a3a5461803f31ec73863fbd01a47008">&#9670;&nbsp;</a></span>_shared_cache</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB._shared_cache</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00124">124</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<a id="a769527da0064a412426691048b43cc97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a769527da0064a412426691048b43cc97">&#9670;&nbsp;</a></span>version</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">aestate.opera.DBPool.pooled_db.PooledDB.version = __version__</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="pooled__db_8py_source.html#l00030">30</a> of file <a class="el" href="pooled__db_8py_source.html">pooled_db.py</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>aestate/opera/DBPool/<a class="el" href="pooled__db_8py_source.html">pooled_db.py</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
